package com.abysscore.yachtdesign;

import java.awt.Color;
import java.io.Serializable;

import com.abysscore.yachtdesign.delphi.TGraphic;
import com.abysscore.yachtdesign.delphi.TRect;
import com.abysscore.yachtdesign.view.TBitmap;

public class TFreeBackgroundImage implements Serializable {
	private TFreeViewport FOwner;
	private TBitmap FBitmap;
	private TPoint FOrigin;
	private double FScale;
	private boolean FTransparent;
	private Color FTransparentColor;
	private boolean FVisible;
	private TFreeviewType FShowInView;
	private byte FQuality;
	private byte FAlpha;
	private byte FTolerance;
	
	
	private void FSetAlpha(byte val) {
		FAlpha = val;
	}
	private void FSetOrigin(TPoint val) {
		FOrigin = val;
	}
	private void FSetTolerance(byte val) {
		FTolerance = val;
	}
	private void FSetTransparent(boolean val) {
		FTransparent = val;
	}
	private void FSetTransparentColor(Color val) {
		FTransparentColor = val;
	}
	private void FSetVisible(boolean val) {
		FVisible = val;
	}
    
	
	public void AssignData(TGraphic Image, TFreeviewType View, TPoint Origin, double Scale, boolean Transp, Color TranspCol, byte Alpha, byte Quality, byte Tolerance, boolean Quiet) {
	}
	public void Clear() {
	}
	public TFreeBackgroundImage(TFreeViewport Viewport) {
		FOwner = Viewport;
	}
	
	public void Draw() {
	}
	public TPoint ImageCoordinate(int X, int Y) {
		return null;
	}
	public TRect TargetRect() {
		return null;
	}
	public void Open(String InitialDir) {
	}
	public void Save() {
	}
	public void SetBlendingValue() {
	}
	
	public byte Alpha() { return FAlpha; }
	public void Alpha(byte val) { FSetAlpha(val); }
	public TBitmap Bitmap() { return FBitmap; }
	public TPoint Origin() { return FOrigin; }
	public void Origin(TPoint val) { FSetOrigin(val); }
	public TFreeViewport Owner() { return FOwner; }
	public byte Quality() { return FQuality; }
	public double Scale() { return FScale; }
	public TFreeviewType ShowInView() { return FShowInView; }
	public byte Tolerance() { return FTolerance; }
	public void Tolerance(byte val) { FSetTolerance(val); }
	public boolean Transparent() { return FTransparent; }
	public void Transparent(boolean val) { FSetTransparent(val); }
	public Color TransparentColor() { return FTransparentColor; }
	public void TransparentColor(Color val) { FSetTransparentColor(val); }
	public boolean Visible() { return FVisible; }
	public void Visible(boolean val) { FSetVisible(val); }
}
